package com.exam.mysql;

import com.exam.entity.SysUserOrganizeExample;
import com.exam.entity.SysUserOrganizeKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysUserOrganizeDao {
    long countByExample(SysUserOrganizeExample example);

    int deleteByExample(SysUserOrganizeExample example);

    int deleteByPrimaryKey(SysUserOrganizeKey key);

    int insert(SysUserOrganizeKey record);

    int insertSelective(SysUserOrganizeKey record);

    List<SysUserOrganizeKey> selectByExample(SysUserOrganizeExample example);

    int updateByExampleSelective(@Param("record") SysUserOrganizeKey record, @Param("example") SysUserOrganizeExample example);

    int updateByExample(@Param("record") SysUserOrganizeKey record, @Param("example") SysUserOrganizeExample example);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_user_organize
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysUserOrganizeKey> list);
}